import { createStore } from 'vuex'

export default createStore({
  state: {
    factuer:  typeof sessionStorage.getItem('increment') === 'undefined' ? {} : JSON.parse(sessionStorage.getItem('increment')||'{}' )
  },
  mutations: {
    increment (state, val) {
      state.factuer = val
    },
  },
  actions: {
  },
  modules: {
  }
})
